package edu.njust.httpmanager.service;

import com.baomidou.mybatisplus.extension.service.IService;
import edu.njust.httpmanager.entity.Api;
import edu.njust.httpmanager.entity.dto.ApiDto;

import java.util.List;

/**
 * @author Goal
 * @description 针对表【api(接口)】的数据库操作Service
 * @createDate 2023-09-03 16:50:57
 */
public interface IApiService extends IService<Api> {

    /**
     * 分页获取API
     * @param programId 项目ID
     * @return
     */
    List<ApiDto> getAllApi(Long programId, String sortOrder,String searchKey);

}
